From: Gabriel Wicke Date: Wed, 4 Feb 2004 14:25:37 +0000 (+0000) Subject: increased tries to read from socket from 4 to 20 X-Git-Tag: 1.3.0beta1~1021 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=a3e58ae5c88024b0d379ed8019047121da53a508;p=lhc%2Fweb%2Fwiklou.git increased tries to read from socket from 4 to 20 --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index dd40d17061..c4788955a6 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -803,7 +803,7 @@ function wfPurgeSquidServers ($urlArr) { if($r != 0) { $res = ''; $esc = 0; - while (strlen($res) < 230 && $esc < 4 ) { + while (strlen($res) < 100 && $esc < 20 ) { $res .= @fread($sockets[$s],512); $esc++; }